@import '../../assets/scss/support';
.warp {
  position: relative;
  z-index: 1000;
}

.custom {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  height: 44px;
  background-color: #343434;
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: center;
  .left {
    // padding:2px 5px;
    margin-left: 6px;
    width: 30px;
    height: 30px;
    background: url('%ASSETS_IMG%/l-nav-back1@2x.png') no-repeat;
    background-size: contain;
  }
  .title {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    margin: 0 auto;
    font-size: 32rpx;
    color: #ffffff;
  }
  .right {
    // padding:2px 5px;
    margin-right: 6px;
    width: 30px;
    height: 30px;
    margin-right: 12px;
  }
}

.container {
  // box-sizing: border-box;
  // background: #fff;
  // width:375px;
  // min-height: 100vh;
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 800;
  background-color: #fff;
  padding-left: 17px;
  box-sizing: border-box;
  .list {
    height: 100%;
    overflow-y: scroll;
    .search-cat {
      .search-title {
        padding: 19px 0;
        font-size: 16px;
        font-weight: 600;
      }
      .search-items {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        .item {
          @include textoverflow(1);
          padding: 0 10px;
          min-width: 143rpx;
          box-sizing: border-box;
          height: 30px;
          line-height: 30px;
          text-align: center; // font-weight: 500;
          border-radius: 3px;
          border: 1px solid #f3f3f6;
          margin: 0 18px 15px 0;
          font-size: 14px;
          background: #f3f3f6;
          overflow: hidden; // &:nth-child(3n+0) {
          //     margin: 0 0 15px 0;
          // }
          &.active {
            border: 1px solid #fd0000;
            box-sizing: border-box;
            background: #ffffff;
            color: #f90000;
          }
        }
      }
      &:last-child {
        padding-bottom: 80px;
      }
    }
  }
  &.x-class {
    .search-cat {
      &:last-child {
        padding-bottom: 100px !important;
      }
    }
  }
}

.search-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 50px;
  line-height: 50px;
  width: 100%;
  display: flex;
  justify-content: center;
  width: 100%;
  font-weight: 600;
  font-size: 17px;
  text-align: center;
  background: #ffffff;
  .cancel {
    background: #ffffff;
    color: #8d8d96;
    flex: 1;
    border-top: 1px solid #eeeeee;
  }
  .confirm {
    background: #de3535;
    color: #fff;
    flex: 1;
  }
}

.x-class {
  padding-bottom: 68rpx;
}
